<script setup lang="ts">
// 定义404页面的逻辑（如果需要）
</script>

<template>
  <div class="not-found-container">
    <h1>404</h1>
    <p>抱歉，您访问的页面不存在。</p>
    <router-link to="/">返回首页</router-link>
  </div>
</template>

<style scoped>
.not-found-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  font-family: Arial, sans-serif;
}

h1 {
  font-size: 10rem;
  color: #333;
  margin-bottom: 20px;
}

p {
  font-size: 1.5rem;
  color: #666;
  margin-bottom: 30px;
}

a {
  text-decoration: none;
  color: #42b983;
  font-weight: bold;
  padding: 10px 20px;
  border: 1px solid #42b983;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a:hover {
  background-color: #42b983;
  color: white;
}
</style>
